
<%@ page language="java" isELIgnored="false"
	contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="ie=7" http-equiv="x-ua-compatible" />
<meta name="keywords" content="IT人才评测中心" />
<meta name="description" content="" />
<!--<title>< ?php echo $hxcms_webtitle?></title>-->
<link href="<%=path%>/other/css/loginStyle.css" rel="stylesheet"
	type="text/css" />
<script src="<%=path%>/script/jquery-1.11.2.min.js"></script>
<!--[if lte IE 6]>
    <script type="text/javascript" src="/themes/mystyle/js/DD_belatedPNG.js"></script>
    <script type="text/javascript">DD_belatedPNG.fix('img,.now_tit,.old_tit,.cart_now,.cart_old');</script>
    <![endif]-->
<title>人才测评网站</title>
</head>

<body>
	<div>
		<div class="topbanner">
			<div class="float_l" style="width: 670px;">
				<a href="/"><img src="<%=path%>/images/login/logo.png"></a>
			</div>
		</div>
		<div class="clear"></div>
		<div class="top_logo">
			<div class="top_tit">
				<span class="float_l"><img
					src="<%=path%>/images/login/number.jpg"></span> <span
					class="float_r" style="padding-top: 10px;"><a href="/"
					style="color: #fff; font-weight: bold;">返回首页</a></span>
			</div>
		</div>
		<div class="login_main">
			<div style="padding-left: 30px; height: 40px; margin-top: 30px;">
				<div class="float_l oldlog_tag">
					<a href="reg.jsp">会员注册</a>
				</div>
				<div class="float_l nowlog_tag">
					<a href="login.jsp" style="color: #fff;">会员登录</a>
				</div>
			</div>
			<div class="clear"></div>
			<div class="log_div">
				<div class="log_bg">
					<div class="float_l" style="width: 380px; margin: 70px;">
 
						<form method="post" class="form-signin" name="logins"
							action="<%=path%>/UserController/login.action" id="loginAction" onsubmit="return login();">
								<input type="hidden" name="action" value="login" /> <span
									class="float_l user_tags">用 户 名：</span><input type="text"
									id="userName" name="userName" class="log_input" for="userName"
									autofocus /><br />
							
								<span class="float_l user_tags">密 码：</span><input
									type="password" id="userPassword" name="userPassword"
									class="log_input" for="userPassword" /><br />
				
							<span class="float_l user_tags"></span><input type="image"
								src="<%=path%>/images/login/log.jpg" class="log_sub"
								id="subLogin" /> <span class="float_l user_tags"><a
								href="reg.jsp">新用户注册</a></span>
						</form> 
						<script type="text/javascript">
							var login = document.getElementById("subLogin");
							login.onclick = function() {
								$("#loginFrom").submit();
							};
						</script>
					</div>
					<div class="float_r" style="width: 390px;">
						<img src="<%=path%>/images/login/back.jpg"
							style="width: 397px; height: 332px" />
					</div>
				</div>
			</div>
		</div>
		<div style="clear: both;"></div>
		<div class="bottom">
			<div class="bottodiv"
				style="margin: auto; font-family: Arial; text-align: center; position: relative;">
				电话：0571-88273070 &nbsp; 传真：0571-88273070 &nbsp;
				电子邮箱：834857953@qq.com &nbsp; 地址：中北大学<br />

				<div
					style="position: absolute; right: 20px; top: -20px; width: 100px; height: 100px;">
					<img src="/themes/mystyle/images/erwm.jpg" width="100" /><br>
					人才院官方微信号
				</div>
			</div>
		</div>
		<script language="JavaScript">
		
			function login() {

				if (logins.userName.value == "") {
					alert('请输入用户姓名/用户名!');
					logins.userName.focus();
					return false;
				}
				if (logins.userPassword.value == "") {
					alert('请输入密码!');
					logins.userPassword.focus();
					return false;
				}

				return true;
			}
		</script>
	
</body>
</html>